package com.jk.customer.entity;

import lombok.Data;

import java.io.Serializable;

@Data
public class PriceEntity extends PictureEntity implements Serializable {

    private static final long serialVersionUID = 8553977220205078384L;
    private String queryPriceId;//询价id
    private String queryPriceStartDate;//开始时间
    private String queryPriceEndDate;//报价结束时间
    private String biddingEndDate;//中标结束公布时间
    private Integer receiveGoodsDay;//期望收货周期
    private Integer queryPriceCompanyCountMin;//最低参与报价供应商数量
    private Double expectTotal;//预期总价
    private String address;//收货地址
    private Integer purchasingDepartmentId;//采购部门
    private Integer departmentOrganizationId;//部门组织
    private Integer defaultPlant;//默认工厂
    private Integer defaultInventory;//默认库存地
    private String queryPriceRemark;//备注
    private String queryPriceAccessory;//附件
    private Integer supplyMaterial;//是否提供材料单
    private Integer materialsInventoryId;//材料单id
    private Integer queryPriceStatus;//询价状态
    private String queryPriceRequirementType; //总表类型关联id


    /**
     * 业务字段
     */
    private Integer selectQueryPriceStartDate; //1立即发布  2自定义
    private Integer selectBiddingEndDate;      //1立即发布  2自定义
    private Integer estimatePirceType;

    @Override
    public String toString() {
        return "PriceEntity{" +
                "queryPriceId='" + queryPriceId + '\'' +
                ", queryPriceStartDate='" + queryPriceStartDate + '\'' +
                ", queryPriceEndDate='" + queryPriceEndDate + '\'' +
                ", biddingEndDate='" + biddingEndDate + '\'' +
                ", receiveGoodsDay=" + receiveGoodsDay +
                ", queryPriceCompanyCountMin=" + queryPriceCompanyCountMin +
                ", expectTotal=" + expectTotal +
                ", address='" + address + '\'' +
                ", purchasingDepartmentId=" + purchasingDepartmentId +
                ", departmentOrganizationId=" + departmentOrganizationId +
                ", defaultPlant=" + defaultPlant +
                ", defaultInventory=" + defaultInventory +
                ", queryPriceRemark='" + queryPriceRemark + '\'' +
                ", queryPriceAccessory='" + queryPriceAccessory + '\'' +
                ", supplyMaterial=" + supplyMaterial +
                ", materialsInventoryId=" + materialsInventoryId +
                ", queryPriceStatus=" + queryPriceStatus +
                ", queryPriceRequirementType='" + queryPriceRequirementType + '\'' +
                '}';
    }
}
